package com.market.goods.dao.po;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 * 编码字典表
 */
@Table(name = "base_dic")
public class BaseDicPO implements Serializable {
    /**
     * 主键Id
     */
    @Column(name = "dic_code")
    private String dicCode;

    /**
     * 编码名称
     */
    @Column(name = "dic_name")
    private String dicName;

    /**
     * 父编号
     */
    @Column(name = "parent_code")
    private String parentCode;

    /**
     * 创建日期
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改日期
     */
    @Column(name = "operate_time")
    private Date operateTime;

    private static final long serialVersionUID = 1L;

    /**
     * ��ȡ���
     *
     * @return dic_code - ���
     */
    public String getDicCode() {
        return dicCode;
    }

    /**
     * ���ñ��
     *
     * @param dicCode ���
     */
    public void setDicCode(String dicCode) {
        this.dicCode = dicCode == null ? null : dicCode.trim();
    }

    /**
     * ��ȡ��������
     *
     * @return dic_name - ��������
     */
    public String getDicName() {
        return dicName;
    }

    /**
     * ���ñ�������
     *
     * @param dicName ��������
     */
    public void setDicName(String dicName) {
        this.dicName = dicName == null ? null : dicName.trim();
    }

    /**
     * ��ȡ�����
     *
     * @return parent_code - �����
     */
    public String getParentCode() {
        return parentCode;
    }

    /**
     * ���ø����
     *
     * @param parentCode �����
     */
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode == null ? null : parentCode.trim();
    }

    /**
     * ��ȡ��������
     *
     * @return create_time - ��������
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * ���ô�������
     *
     * @param createTime ��������
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * ��ȡ�޸�����
     *
     * @return operate_time - �޸�����
     */
    public Date getOperateTime() {
        return operateTime;
    }

    /**
     * �����޸�����
     *
     * @param operateTime �޸�����
     */
    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }
}